package service.impl;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import pojo.User;
import service.Userservice;

import java.util.List;

public class UserServiceimpl implements Userservice {
    UserDao userdao=new UserDaoImpl();
    @Override
    public List<User> findAll() {
        List<User>users=userdao.findAll();

        return users;
    }
    //接口的实现类
}
